package com.xuecheng.manage_cms.dao;

import com.xuecheng.framework.domain.cms.CmsSiteServer;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CmsSiteServerRepository extends MongoRepository<CmsSiteServer,String> {
    //根据ip、端口和站点id查询
    CmsSiteServer findByIpAndPortAndSiteId(String ip,String port,String siteId);
}
